<!DOCTYPE html>
<html lang="zh-cmn-Hans" xmlns:th="http://www.thymeleaf.org" th:with="title='添加收藏夹'">
<head th:replace="common/head :: common_header(~{::link},~{::script})">
     <link type="text/css" rel="stylesheet" th:href="@{/web/user/favotiteAdd.css}"/>
    <script type="text/javascript" th:src="@{/web/user/favotiteAdd.js}"></script>

</head>
<body id="cc" style="padding: 15px;">
    <input type="hidden" id="gn_id" th:value="${gn_id}" />
    <input type="hidden" id="scj_id" />
    <div class="box form-group" style="margin-top: 5px;">
        <label for="gn_mc">功能名称</label>
        <input id="gn_mc" class="form-control" readonly/>
    </div>
    <div class="box" >
        <label >收藏夹</label>
        <div id="list-box" style="height:320px;overflow: auto;">
            <ul id="list-group" class="list-group">
                <li class="list-group-item title-s" th:each="gn:${scjlist}" th:id="${gn.SCJ_ID}"   th:text="${gn.SCJ_MC}" ></li>
            </ul>
        </div>
    </div>
    <div class="box">
       <div style="float:left;position: relative;" >
            <button class="btn" onclick="$('#bbxx').toggle();">添加收藏夹</button>
            <div id="bbxx" >
                <span style="float:left;font-size:14px;">收藏夹名称：</span>
                <input id="scj_mc" class="form-control" style="width: 200px;float:left;"/>
                <button class="btn btn-primary" style="float:right;" onclick="addFolder();">保存</button>
            </div>
       </div>
        <div style="float:right;">
            <button class="btn  btn-primary" onclick="saveFav();" >确定</button>
            <button class="btn" onclick="closeWin();">取消</button>
        </div>
    </div>
</body>
</html>
